package com.example.asus.yuejian_10.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/10/7 0007.
 */

public class Traindown  implements Parcelable{

    /**
     * id : 3
     * name : 线下训练（入门）
     * thumb : train/thumb/20161202/thumb_20161202103554_1934088441.jpg
     * thumbsize : 111K
     * degree : 1
     * intro : 线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）
     * notice : <p>线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）</p>
     * bmnotice : 线下训练（入门）线下训练（入门）线下训练（入门）线下训练（入门）
     * traintime : 2017-1-20
     * place : 大连
     * price : 120
     * tel : 22222
     * userid : 1
     * hits : 118
     * insert_time : null
     * update_time : 2016-12-02 10:35:54
     * check_userid : 1
     * checktime : null
     * checkstate : 1
     * listorder : 1
     * vstate : 1
     */

    private String id;
    private String name;
    private String thumb;
    private String thumbsize;
    private String degree;
    private String intro;
    private String notice;
    private String bmnotice;
    private String traintime;
    private String place;
    private String price;
    private String tel;
    private String userid;
    private String hits;
    private Object insert_time;
    private String update_time;
    private String check_userid;
    private Object checktime;
    private String checkstate;
    private String listorder;
    private String vstate;

    protected Traindown(Parcel in) {
        id = in.readString();
        name = in.readString();
        thumb = in.readString();
        thumbsize = in.readString();
        degree = in.readString();
        intro = in.readString();
        notice = in.readString();
        bmnotice = in.readString();
        traintime = in.readString();
        place = in.readString();
        price = in.readString();
        tel = in.readString();
        userid = in.readString();
        hits = in.readString();
        update_time = in.readString();
        check_userid = in.readString();
        checkstate = in.readString();
        listorder = in.readString();
        vstate = in.readString();
    }

    public static final Creator<Traindown> CREATOR = new Creator<Traindown>() {
        @Override
        public Traindown createFromParcel(Parcel in) {
            return new Traindown(in);
        }

        @Override
        public Traindown[] newArray(int size) {
            return new Traindown[size];
        }
    };

    public void setId(String id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }

    public void setThumbsize(String thumbsize) {
        this.thumbsize = thumbsize;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public void setNotice(String notice) {
        this.notice = notice;
    }

    public void setBmnotice(String bmnotice) {
        this.bmnotice = bmnotice;
    }

    public void setTraintime(String traintime) {
        this.traintime = traintime;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public void setHits(String hits) {
        this.hits = hits;
    }

    public void setInsert_time(Object insert_time) {
        this.insert_time = insert_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public void setCheck_userid(String check_userid) {
        this.check_userid = check_userid;
    }

    public void setChecktime(Object checktime) {
        this.checktime = checktime;
    }

    public void setCheckstate(String checkstate) {
        this.checkstate = checkstate;
    }

    public void setListorder(String listorder) {
        this.listorder = listorder;
    }

    public void setVstate(String vstate) {
        this.vstate = vstate;
    }

    public String getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getThumb() {
        return thumb;
    }

    public String getThumbsize() {
        return thumbsize;
    }

    public String getDegree() {
        return degree;
    }

    public String getIntro() {
        return intro;
    }

    public String getNotice() {
        return notice;
    }

    public String getBmnotice() {
        return bmnotice;
    }

    public String getTraintime() {
        return traintime;
    }

    public String getPlace() {
        return place;
    }

    public String getPrice() {
        return price;
    }

    public String getTel() {
        return tel;
    }

    public String getUserid() {
        return userid;
    }

    public String getHits() {
        return hits;
    }

    public Object getInsert_time() {
        return insert_time;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public String getCheck_userid() {
        return check_userid;
    }

    public Object getChecktime() {
        return checktime;
    }

    public String getCheckstate() {
        return checkstate;
    }

    public String getListorder() {
        return listorder;
    }

    public String getVstate() {
        return vstate;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(id);
        dest.writeString(name);
        dest.writeString(thumb);
        dest.writeString(thumbsize);
        dest.writeString(degree);
        dest.writeString(intro);
        dest.writeString(notice);
        dest.writeString(bmnotice);
        dest.writeString(traintime);
        dest.writeString(place);
        dest.writeString(price);
        dest.writeString(tel);
        dest.writeString(userid);
        dest.writeString(hits);
        dest.writeString(update_time);
        dest.writeString(check_userid);
        dest.writeString(checkstate);
        dest.writeString(listorder);
        dest.writeString(vstate);
    }
}
